Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> img.normal { height: auto; } img.big { height: 120px; } p.ex { height: 100px; width: 100px; } </style> </head> <body> <img class="normal" src="smiley.gif"><br> <img class="big" src="smiley.gif"> <p class="ex">The height and width of this paragraph is 100px.</p> <p>This is a paragraph with no height and width specified.</p> <p>This is also a paragraph with no height and width specified.</p> </body> <!-- Mirrored from www.w3schools.com/css/tryit.asp?filename=trycss_dim_height by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:23:26 GMT --> </html>
Result:
Try it Yourself - © w3schools.com